using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;
using System.IO;
using System.Xml.Serialization;

using D3;

namespace ApiTest
{
    class Program
    {
        static void Main(string[] args)
        {
            Game.OnDrawEvent += new DrawEventHandler(Game_OnDrawEvent);
        }

        static void Game_OnDrawEvent(EventArgs e)
        {
            if (Game.Ingame)
            {
                Draw.DrawText(10.0f, 10.0f, 0x16A, 0x16, 0xFFFFFFFF, String.Format("Me Pos: {0}, {1}", Me.X, Me.Y));
            }
        }
    }
}

